package com.hp_dzzl.item;

import com.hp_dzzl.item.modular.armor.HpModularChestItem;
import com.hp_dzzl.Hp_dzzl;
import com.hp_dzzl.item.modular.armor.HpModularFeetItem;
import com.hp_dzzl.item.modular.armor.HpModularHeadItem;
import com.hp_dzzl.item.modular.armor.HpModularLegsItem;
import com.hp_dzzl.item.modular.other.HpShieldModularItem;
import net.minecraft.world.item.Item;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;
import net.minecraftforge.registries.RegistryObject;

public class ModItems {
    public static final DeferredRegister<Item> ITEMS =
            DeferredRegister.create(ForgeRegistries.ITEMS, Hp_dzzl.MODID);

    // 注册模块化物品
    public static final RegistryObject<Item> MODULAR_CHEST =
            ITEMS.register("modular_chest", HpModularChestItem::new);
    public static final RegistryObject<Item> MODULAR_LEGS =
            ITEMS.register("modular_legs", HpModularLegsItem::new);
    public static final RegistryObject<Item> MODULAR_HEAD =
            ITEMS.register("modular_head", HpModularHeadItem::new);
    public static final RegistryObject<Item> MODULAR_FEET =
            ITEMS.register("modular_feet", HpModularFeetItem::new);







    public static void register(IEventBus eventBus) {
        ITEMS.register(eventBus);
    }
}
